home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C++ / Applications / PICSee Dust 1.01 / Quaternary Source / StringUtils.h < prev    next >
Encoding:
Text File  |  1995-11-10  |  808 b   |  34 lines  |  [TEXT/CWIE]

  1. ///--------------------------------------------------------------------------------------
  2. // StringUtils.h
  3. ///--------------------------------------------------------------------------------------
  4.  
  5.  
  6. #ifndef __STRINGUTILS__
  7. #define __STRINGUTILS__
  8.  
  9. #ifndef __TYPES__
  10. #include <Types.h>
  11. #endif
  12.  
  13.  
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17.  
  18.  
  19. void PStrCpy(Str255 srcStr, Str255 dstStr);
  20. void PStrCat(Str255 appendStr, Str255 dstStr);
  21.  
  22. // These routines are written by Hiep Dam
  23. void PStrPad(Str255 destStr, short padToLen, register char padChar);
  24. void PStrPadCpy(Str255 srcStr, Str255 destStr, short padToLen, register char padChar);
  25. void PStrDelete(Str255 srcStr, short start, short length);
  26.  
  27. Boolean PStrReplaceSuffix(Str255 searchSuffix, Str255 replaceSuffix, Str255 destStr);
  28.  
  29. #ifdef __cplusplus
  30. }
  31. #endif
  32. #endif
  33.  
  34.